﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MyPager.ascx.cs" Inherits="MyPager" %>
<table width="100%" style="">
    <tr align="left">
        <td>
            <asp:Button ID="btnFirst" runat="server" CommandName="Page" CommandArgument="First"
                meta:resourcekey="btnFirst" />
            <asp:Button ID="btnPrev" runat="server" CommandName="Page" CommandArgument="Prev"
                meta:resourcekey="btnPrev" />
            <asp:Dropdownlist id="ddlCurrentPage" runat="server" autopostback="true" 
                onselectedindexchanged="ddlCurrentPage_SelectedIndexChanged">
                    </asp:Dropdownlist>
            <asp:Button ID="btnNext" runat="server" CommandName="Page" CommandArgument="Next"
                meta:resourcekey="btnNext" />
            <asp:Button ID="btnLast" runat="server" CommandName="Page" CommandArgument="Last"
                meta:resourcekey="btnLast" />
        </td>
       
        <td align ="center" >
            <asp:Label ID="lbPageSize" runat="server" meta:resourcekey="lbPageSize"></asp:Label>
         <asp:TextBox ID="txtPagerSize" runat="server" Text ="10" AutoPostBack="True" Width="45px"
            ontextchanged="txtPagerSize_TextChanged"></asp:TextBox>
        </td>
        <td align="right">
            <asp:Label ID="lblRowCountInfo" runat="server"></asp:Label>
        </td>
    </tr>
</table>
